function GetQueryString(name){
  var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
  var r = window.location.search.substr(1).match(reg);
  if(r!=null)return  unescape(r[2]); return null;
}
var pathname=GetQueryString("pathname");
var id=GetQueryString("id");
var ajax;
if(window.XMLHttpRequest){ 
  ajax = new XMLHttpRequest();
}else{ 
  ajax = new ActiveXObject('Microsoft.XMLHTTP');
}
$(document).ready(function(){  
     $.get('__ROOT__/home/show/set_hits',{id:id,pname:pathname},function(data){
     });
});  
